package com.eascs.web.o2o.scheduler.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the loan_base_info database table.
 * 
 */
@Entity
@Table(name="loan_base_info")
@NamedQuery(name="LoanBaseInfo.findAll", query="SELECT l FROM LoanBaseInfo l")
public class LoanBaseInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="bill_code")
	private String billCode;

	@Column(name="balance_deposite")
	private BigDecimal balanceDeposite;

	@Column(name="balance_manger")
	private BigDecimal balanceManger;

	@Column(name="balance_risk")
	private BigDecimal balanceRisk;

	@Column(name="bank_loan_amount")
	private BigDecimal bankLoanAmount;

	private String bankrefund;

	@Column(name="bill_status")
	private String billStatus;

	@Column(name="couple_name")
	private String coupleName;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="create_time")
	private Date createTime;

	private String crmotoloaner;

	private String crmotoloanersur;
	
	@Column(name="crmotoloanername")
	private String crmotoloanername;
	
	@Column(name="crmotoloanerphone")
	private String crmotoloanerphone;

	@Column(name="customer_id")
	private String customerId;

	@Column(name="customer_type")
	private String customerType;

	@Column(name="deposite_rate")
	private BigDecimal depositeRate;

	private String idcard;

	@Column(name="idcard_type")
	private String idcardType;

	@Column(name="is_place_on_file")
	private String isPlaceOnFile;

	@Column(name="is_renew_loan")
	private String isRenewLoan;

	private String islock;

	@Column(name="loan_amount")
	private BigDecimal loanAmount;

	@Column(name="loan_apply_no")
	private String loanApplyNo;

	@Column(name="loan_num")
	private int loanNum;

	@Column(name="loan_term")
	private byte loanTerm;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="loan_time")
	private Date loanTime;

	@Column(name="loan_type")
	private String loanType;

	private BigDecimal loanrate;

	@Column(name="manger_rate")
	private BigDecimal mangerRate;

	@Column(name="operator_agency")
	private String operatorAgency;

	@Column(name="operator_name")
	private String operatorName;

	@Column(name="operator_no")
	private int operatorNo;

	@Column(name="operator_province")
	private String operatorProvince;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="place_on_file_time")
	private Date placeOnFileTime;

	@Column(name="rec_deposite")
	private BigDecimal recDeposite;

	@Column(name="rec_manger")
	private BigDecimal recManger;

	@Column(name="rec_risk")
	private BigDecimal recRisk;

	@Column(name="red_deposite")
	private BigDecimal redDeposite;

	@Column(name="red_manger")
	private BigDecimal redManger;

	@Column(name="red_risk")
	private BigDecimal redRisk;

	@Column(name="refund_status")
	private String refundStatus;

	@Column(name="reta_deposite")
	private BigDecimal retaDeposite;

	@Column(name="reta_manger")
	private BigDecimal retaManger;

	@Column(name="reta_risk")
	private BigDecimal retaRisk;

	@Column(name="risk_rate")
	private BigDecimal riskRate;

	@Column(name="source_type")
	private int sourceType;

	@Column(name="total_deposite")
	private BigDecimal totalDeposite;

	@Column(name="total_manger")
	private BigDecimal totalManger;

	@Column(name="total_risk")
	private BigDecimal totalRisk;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="update_time")
	private Date updateTime;
	
	@Column(name="end_bank_date")
	private Date endBankDate;
	
	@Column(name="referrer_no")
	private String referrerNo;
	
	@Column(name="referrer_name")
	private String referrerName;
	
	@Column(name="bank_type")
	private String bankType;
	
	@Column(name="end_date")
	private Date endDate;
	
	@Column(name="repay_mentway")
	private String repayMentway;
	
	@Column(name="ea_mount")
	private BigDecimal eaMount;
	
	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getReferrerNo() {
		return referrerNo;
	}

	public void setReferrerNo(String referrerNo) {
		this.referrerNo = referrerNo;
	}

	public String getReferrerName() {
		return referrerName;
	}

	public void setReferrerName(String referrerName) {
		this.referrerName = referrerName;
	}

	public String getBankType() {
		return bankType;
	}

	public void setBankType(String bankType) {
		this.bankType = bankType;
	}

	public Date getEndBankDate() {
		return endBankDate;
	}

	public void setEndBankDate(Date endBankDate) {
		this.endBankDate = endBankDate;
	}

	public LoanBaseInfoEntity() {
	}

	public String getBillCode() {
		return this.billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public BigDecimal getBalanceDeposite() {
		return this.balanceDeposite;
	}

	public void setBalanceDeposite(BigDecimal balanceDeposite) {
		this.balanceDeposite = balanceDeposite;
	}

	public BigDecimal getBalanceManger() {
		return this.balanceManger;
	}

	public void setBalanceManger(BigDecimal balanceManger) {
		this.balanceManger = balanceManger;
	}

	public BigDecimal getBalanceRisk() {
		return this.balanceRisk;
	}

	public void setBalanceRisk(BigDecimal balanceRisk) {
		this.balanceRisk = balanceRisk;
	}

	public BigDecimal getBankLoanAmount() {
		return this.bankLoanAmount;
	}

	public void setBankLoanAmount(BigDecimal bankLoanAmount) {
		this.bankLoanAmount = bankLoanAmount;
	}

	public String getBankrefund() {
		return this.bankrefund;
	}

	public void setBankrefund(String bankrefund) {
		this.bankrefund = bankrefund;
	}

	public String getBillStatus() {
		return this.billStatus;
	}

	public void setBillStatus(String billStatus) {
		this.billStatus = billStatus;
	}

	public String getCoupleName() {
		return this.coupleName;
	}

	public void setCoupleName(String coupleName) {
		this.coupleName = coupleName;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCrmotoloaner() {
		return this.crmotoloaner;
	}

	public void setCrmotoloaner(String crmotoloaner) {
		this.crmotoloaner = crmotoloaner;
	}

	public String getCrmotoloanersur() {
		return this.crmotoloanersur;
	}

	public void setCrmotoloanersur(String crmotoloanersur) {
		this.crmotoloanersur = crmotoloanersur;
	}

	public String getCustomerId() {
		return this.customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public String getCustomerType() {
		return this.customerType;
	}

	public void setCustomerType(String customerType) {
		this.customerType = customerType;
	}

	public BigDecimal getDepositeRate() {
		return this.depositeRate;
	}

	public void setDepositeRate(BigDecimal depositeRate) {
		this.depositeRate = depositeRate;
	}

	public String getIdcard() {
		return this.idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getIdcardType() {
		return this.idcardType;
	}

	public void setIdcardType(String idcardType) {
		this.idcardType = idcardType;
	}

	public String getIsPlaceOnFile() {
		return this.isPlaceOnFile;
	}

	public void setIsPlaceOnFile(String isPlaceOnFile) {
		this.isPlaceOnFile = isPlaceOnFile;
	}

	public String getIsRenewLoan() {
		return this.isRenewLoan;
	}

	public void setIsRenewLoan(String isRenewLoan) {
		this.isRenewLoan = isRenewLoan;
	}

	public String getIslock() {
		return this.islock;
	}

	public void setIslock(String islock) {
		this.islock = islock;
	}

	public BigDecimal getLoanAmount() {
		return this.loanAmount;
	}

	public void setLoanAmount(BigDecimal loanAmount) {
		this.loanAmount = loanAmount;
	}

	public String getLoanApplyNo() {
		return this.loanApplyNo;
	}

	public void setLoanApplyNo(String loanApplyNo) {
		this.loanApplyNo = loanApplyNo;
	}

	public int getLoanNum() {
		return this.loanNum;
	}

	public void setLoanNum(int loanNum) {
		this.loanNum = loanNum;
	}

	public byte getLoanTerm() {
		return this.loanTerm;
	}

	public void setLoanTerm(byte loanTerm) {
		this.loanTerm = loanTerm;
	}

	public Date getLoanTime() {
		return this.loanTime;
	}

	public void setLoanTime(Date loanTime) {
		this.loanTime = loanTime;
	}

	public String getLoanType() {
		return this.loanType;
	}

	public void setLoanType(String loanType) {
		this.loanType = loanType;
	}

	public BigDecimal getLoanrate() {
		return this.loanrate;
	}

	public void setLoanrate(BigDecimal loanrate) {
		this.loanrate = loanrate;
	}

	public BigDecimal getMangerRate() {
		return this.mangerRate;
	}

	public void setMangerRate(BigDecimal mangerRate) {
		this.mangerRate = mangerRate;
	}

	public String getOperatorAgency() {
		return this.operatorAgency;
	}

	public void setOperatorAgency(String operatorAgency) {
		this.operatorAgency = operatorAgency;
	}

	public String getOperatorName() {
		return this.operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}

	public int getOperatorNo() {
		return this.operatorNo;
	}

	public void setOperatorNo(int operatorNo) {
		this.operatorNo = operatorNo;
	}

	public String getOperatorProvince() {
		return this.operatorProvince;
	}

	public void setOperatorProvince(String operatorProvince) {
		this.operatorProvince = operatorProvince;
	}

	public Date getPlaceOnFileTime() {
		return this.placeOnFileTime;
	}

	public void setPlaceOnFileTime(Date placeOnFileTime) {
		this.placeOnFileTime = placeOnFileTime;
	}

	public BigDecimal getRecDeposite() {
		return this.recDeposite;
	}

	public void setRecDeposite(BigDecimal recDeposite) {
		this.recDeposite = recDeposite;
	}

	public BigDecimal getRecManger() {
		return this.recManger;
	}

	public void setRecManger(BigDecimal recManger) {
		this.recManger = recManger;
	}

	public BigDecimal getRecRisk() {
		return this.recRisk;
	}

	public void setRecRisk(BigDecimal recRisk) {
		this.recRisk = recRisk;
	}

	public BigDecimal getRedDeposite() {
		return this.redDeposite;
	}

	public void setRedDeposite(BigDecimal redDeposite) {
		this.redDeposite = redDeposite;
	}

	public BigDecimal getRedManger() {
		return this.redManger;
	}

	public void setRedManger(BigDecimal redManger) {
		this.redManger = redManger;
	}

	public BigDecimal getRedRisk() {
		return this.redRisk;
	}

	public void setRedRisk(BigDecimal redRisk) {
		this.redRisk = redRisk;
	}

	public String getRefundStatus() {
		return this.refundStatus;
	}

	public void setRefundStatus(String refundStatus) {
		this.refundStatus = refundStatus;
	}

	public BigDecimal getRetaDeposite() {
		return this.retaDeposite;
	}

	public void setRetaDeposite(BigDecimal retaDeposite) {
		this.retaDeposite = retaDeposite;
	}

	public BigDecimal getRetaManger() {
		return this.retaManger;
	}

	public void setRetaManger(BigDecimal retaManger) {
		this.retaManger = retaManger;
	}

	public BigDecimal getRetaRisk() {
		return this.retaRisk;
	}

	public void setRetaRisk(BigDecimal retaRisk) {
		this.retaRisk = retaRisk;
	}

	public BigDecimal getRiskRate() {
		return this.riskRate;
	}

	public void setRiskRate(BigDecimal riskRate) {
		this.riskRate = riskRate;
	}

	public int getSourceType() {
		return this.sourceType;
	}

	public void setSourceType(int sourceType) {
		this.sourceType = sourceType;
	}

	public BigDecimal getTotalDeposite() {
		return this.totalDeposite;
	}

	public void setTotalDeposite(BigDecimal totalDeposite) {
		this.totalDeposite = totalDeposite;
	}

	public BigDecimal getTotalManger() {
		return this.totalManger;
	}

	public void setTotalManger(BigDecimal totalManger) {
		this.totalManger = totalManger;
	}

	public BigDecimal getTotalRisk() {
		return this.totalRisk;
	}

	public void setTotalRisk(BigDecimal totalRisk) {
		this.totalRisk = totalRisk;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getCrmotoloanername() {
		return crmotoloanername;
	}

	public void setCrmotoloanername(String crmotoloanername) {
		this.crmotoloanername = crmotoloanername;
	}

	public String getCrmotoloanerphone() {
		return crmotoloanerphone;
	}

	public void setCrmotoloanerphone(String crmotoloanerphone) {
		this.crmotoloanerphone = crmotoloanerphone;
	}

	public String getRepayMentway() {
		return repayMentway;
	}

	public void setRepayMentway(String repayMentway) {
		this.repayMentway = repayMentway;
	}

	public BigDecimal getEaMount() {
		return eaMount;
	}

	public void setEaMount(BigDecimal eaMount) {
		this.eaMount = eaMount;
	}
	
	
}